﻿using BasicInformation.ErrorCode;
using MediatR;

namespace BasicInformation.ApiWrite.Application.Command.Depot
{
    /// <summary>
    /// 添加仓库管理
    /// </summary>
    public class AddDepotCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 仓库编号(自动生成)
        /// </summary>
        public string DepotCode { get; set; }
        /// <summary>
        /// 仓库名称
        /// </summary>
        public string DepotName { get; set; }
        /// <summary>
        /// 租赁时间
        /// </summary>
        public DateTime LeaseTime { get; set; }
        /// <summary>
        /// 仓库类型
        /// </summary>
        public int DTypeId { get; set; }
        /// <summary>
        /// 所属 部门
        /// </summary>
        public int Department_Id { get; set; }
        /// <summary>
        /// 是否禁用
        /// </summary>
        public bool IsState { get; set; }
        /// <summary>
        /// 是否默认
        /// </summary>
        public bool IsPreset { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string DepotAddr { get; set; }
        /// <summary>
        /// 面积
        /// </summary>
        public int DepotArea { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        public string Contact { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        public string Tel { get; set; }
    }
}
